<div class="path">
    <i class="iconfont icon-shouye1"></i>
    <a href="{url('admin/default/welcome')}">开始</a> / 
    <a href="{url('excel/index')}">入库管理</a>
</div>
<div class="table-head fn-clear">
    <div class="fn-l">
        <a href="{url('excel/index')}" class="button">
            <i class="iconfont icon-xiangzuo1"></i> 返回
        </a>
    </div>
</div>
<div class="m10">
<form id="form" action="{url('excel/edit')}">
<input type="hidden" name="id" value="{$id}"/>   
<table class="table">
    <tr>
      <th>邮寄时间:</th>
      <td>
        <input class="input w100 ui-date" datatype="date" type="text" name="ems_time" value="{if $info['ems_time']}{date('Y/m/d',$info['ems_time'])}{/if}" readonly="readonly" />
      </td>
    </tr>
    <tr>
      <th>门店最晚收获时间:</th>
      <td>
        <input class="input w120 ui-date" datatype="date" type="text" name="address_time" value="{if $info['address_time']}{date('Y/m/d',$info['address_time'])}{/if}" readonly="readonly" />
      </td>
    </tr>
    <tr>
      <th>快递单号:</th>
      <td>
        <input class="input w200" datatype="n" type="text" name="ems_sn" value="{$info['ems_sn']}" />
      </td>
    </tr>
    <tr>
      <th>发货地址:</th>
      <td>
        <input class="input w300" datatype="*" type="text" name="come_address" value="{$info['come_address']}" />
      </td>
    </tr> 
    <tr>
      <th>附加门店号:</th>
      <td>
        <input class="input w200" datatype="n" type="text" name="supplier_code" value="{$info['supplier_code']}" />
      </td>
    </tr>
    <tr>
      <th>门店号:</th>
      <td>
<select class="select" name="supplier_id" datatype="*">
    <option value=""></option>
{loop $supplier_lists $vo} 
    <option value="{$vo['id']}" {if $info['supplier_id'] ==$vo['id']} selected="selected"{/if}>{$vo['name']}</option>
{/loop}
</select>
      </td>
    </tr>
    <tr>
      <th>厂商:</th>
      <td>
<select class="select" name="manufacturer_id" datatype="*">
    <option value="" {if !$info['manufacturer_id']} selected="selected"{/if}></option>
{loop $manufacturer_lists $vo} 
    <option value="{$vo['id']}" {if $info['manufacturer_id'] ==$vo['id']} selected="selected"{/if}>{$vo['name']}</option>
{/loop}
</select>
      </td>
    </tr>
    <tr>
      <th>运营商:</th>
      <td>
<select class="select" name="unicom_id" datatype="*">
    <option value="" {if !$info['unicom_id']} selected="selected"{/if}></option>
{loop $unicom_lists $vo} 
    <option value="{$vo['id']}" {if $info['unicom_id'] ==$vo['id']} selected="selected"{/if}>{$vo['name']}</option>
{/loop}
</select>
      </td>
    </tr>
    <tr>
      <th>产品类型:</th>
      <td>
<select class="select" name="producttype_id" datatype="*">
    <option value="" {if !$info['producttype_id']} selected="selected"{/if}></option>
{loop $producttype_lists $vo} 
    <option value="{$vo['id']}" {if $info['producttype_id'] ==$vo['id']} selected="selected"{/if}>{$vo['name']}</option>
{/loop}
</select>
      </td>
    </tr>
     <tr>
      <th>IMEI号:</th>
      <td>
        <input class="input w200" datatype="n" type="text" name="imei" value="{$info['imei']}" />
      </td>
    </tr>
    <tr>
      <th>故障描述:</th>
      <td>
        <textarea datatype="*" class="textarea w350 h100"  type="text" name="fault_why">{$info['fault_why']}</textarea>
      </td>
    </tr> 
</table>
<div class="btn fn-tac">
    <input type="submit" value="确定保存" class="button button-blue" />
    <input type="reset" value="重置" class="button button-yellow" />
</div>
</form>
</div>
<script type="text/javascript">
Do('base','form','date','dialog',function(){ 
    $('#form').forms();
})
</script>